*{
    padding: 0;
    margin: 0;
}
body{
    background-color: #fafafa;
}
.header{
    background-color: #fff;
    .navback{
        background-color: #f2f2f2;
        .subnavbar{
            width: 1200px;
            margin: 0 auto;
            height: 40px;
            align-items: center;
            display: flex;
            justify-content: space-between;
            .con_left{
                a{
                    display: inline-block;
                    font-size: 12px;
                    text-decoration: none;
                    color: #666;
                    height: 40px;
                    line-height: 40px;
                    padding: 0 20px;
                    &:nth-child(1){
                        padding-left: 0;
                    }
                }
                .active{
                    background-color: #fff;
                }
            }
            .con_right{
                a{
                    display: inline-block;
                    font-size: 12px;
                    text-decoration: none;
                    color: #333;
                    height: 40px;
                    line-height: 40px;
                    margin-left: 31px;
                    &:nth-child(1){
                        padding-left: 0;
                    }
                }
            }
        }
    }
    .logozone{
        width: 1200px;
        margin: 0 auto;
        height: 100px;
        padding: 25px 0;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .logoImage{
            width: 270px;
            height: 50px;
        }
        .searchbox{
            display: flex;
            position: relative;
            input{
                width: 247px;
                height: 30px;
                padding-left: 28px;
                padding-right: 2px;
                line-height: 30px;
                box-sizing: border-box;
                background: #faf9f4;
                border-radius: 16px;
                border: none;
                outline: none;
                &::placeholder{
                    color: #777;
                    font-size: 12px;
                }
            }
            .searchbtn{
                position: absolute;
                top: 10;
                left: 217px;
                width: 30px;
                height: 30px;
                border-radius: 50%;
                background-color: #1eb9ee;
                i{
                    background-image: url(../img/icons.png);
                    background-position: -451px -24px;
                    width: 20px;
                    height: 21px;
                    position: absolute;
                    right: 4px;
                    top: 5px;
                    z-index: 2;
                }
            }
            .mybook{
                width: 155px;
                height: 30px;
                padding-left: 46px;
                box-sizing: border-box;
                display: flex;
                align-items: center;
                i{
                    display: inline-block;
                    background-color: #1eb9ee;
                    background-position: -414px -197px;
                    margin-right: 15px;
                    border-radius: 50%;
                    width: 30px;
                    height: 30px;
                    background-image: url(../img/icons.png);
                }
            }
        }
    }
    .firstnav{
        width: 1200px;
        margin: 0 auto;
        background-color: #1eb9ee;
        height: 50px;
        display: flex;
        align-items: center;
        padding: 0 38px;
        box-sizing: border-box;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        position: relative;
        a{
            display: block;
            height: 50px;
            line-height: 50px;
            color: #fff;
            font-size: 16px;
            text-decoration: none;
            padding: 0 19px;
            margin-left: 22px;
        }
        img{
            position: absolute;
            width: 24px;
            height: 12px;
            top: 10px;
            left: 615px;
        }
    }
}
.container{
    width: 1200px;
    margin: 10px auto 0;
    .breadcrumb{
        height: 46px;
        box-sizing: border-box;
        color: #666;
        a{
            font-size: 16px;
            color: #666;
            text-decoration: none;
        }
        span{
            display: inline-block;
            padding: 0 2px;
        }
    }
    .intro{
        display: flex;
        height: 353px;
        background-color: #fff;
        .pic{
            width: 200px;
            height: 272px;
            margin-top: 40px;
            margin-left: 40px;
            img{
                width: 100%;
                height: 100%;
            }
        }
        .brief{
            width: 660px;
            margin-top: 46px;
            margin-left: 40px;
            height: 262px;
            .title{
                display: flex;
                height: 32px;
                .name{
                    font-size: 30px;
                    color: #2c3e50;
                    font-weight: bold;
                    line-height: 30px;
                }
                .author{
                    font-size: 16px;
                    line-height: 16px;
                    color: #666;
                    height: 16px;
                    margin: 16px 7px 0 18px;
                }
                .write{
                    height: 16px;
                    line-height: 16px;
                    margin-top: 16px;
                    font-size: 16px;
                    color: #666;
                }
            }
            .tags{
                display: flex;
                flex-wrap: wrap;
                a{
                    margin-top: 15px;
                    text-decoration: none;
                    font-size: 14px;
                    padding: 4px 10px 5px;
                    border: 1px solid #1eb9ee;
                    color: #1eb9ee;
                    border-radius: 4px;
                    margin-right: 15px;
                    height: 24px;
                    box-sizing: border-box;
                    display: inline-block;
                    line-height: 14px;
                }
                .isfinish{
                    color: #66ccdd;
                    border-color: #66ccdd
                }
            }
            .hits{
                display: flex;
                color: #999;
                margin-top: 20px;
                height: 12px;
                align-items: center;
                i{
                    display: inline-block;
                    width: 8px;
                    height: 8px;
                    background: #ccc;
                    border-radius: 50%;
                    margin-right: 4px;
                }
                span{
                    line-height: 12px;
                    display: inline-block;
                    margin-right: 16px;
                    font-size: 12px;
                    font-weight: 400;
                }
            }
            .brief_text{
                height: 48px;
                line-height: 24px;
                margin-top: 24px;
                font-size: 14px;
                overflow: hidden;
                color: #666;
            }
            .btns{
                display: flex;
                margin-top: 48px;;
                height: 38px;
                .freeOn{
                    border:1px solid #1eb9ee;
                    display: inline-block;
                    color: #fff;
                    font-size: 18px;
                    line-height: 18px;
                    padding: 9px 33px 10px;
                    border-radius: 5px;
                    margin-right: 30px;
                    background-color: #1eb9ee;
                }
                .btn{
                    border:1px solid #333;
                    display: inline-block;
                    font-size: 18px;
                    line-height: 18px;
                    padding: 9px 33px 10px;
                    border-radius: 5px;
                    margin-right: 30px;
                    color: #333;
                }
            }
        }
        .popular{
            width: 200px;
            height: 353px;
            position: relative;
            flex: 1;
            .action{
                width: 183px;
                position: absolute;
                bottom: 47px;
                right: -2px;
                &:hover .mask{
                    display: block;
                }
                p{
                    display: inline-block;
                    background: url('../img/laikan-phone.png') no-repeat;
                    padding-left: 20px;
                    height: 20px;
                    padding-top: 5px;
                    margin-left: 8px;
                    font-size: 12px;
                    background-position: 0 3px;
                    color: #333;
                }
                .mask{
                    display: none;
                    position: absolute;
                    z-index: 10;
                    top: 21px;
                    left: -144px;
                    width: 194px;
                    height: 215px;
                    background-image: url('../img/laikan-mask.png');
                    background-size: cover;
                    .code{
                        display: inline-block;
                        padding: 15px;
                        background: #fff;
                        margin: 30px 0 0 21px;
                    }
                }
            }
        }
    }
    .detail{
        width: 1200px;
        margin: 10px auto 0;
        .title{
            width: 950px;
            background-color: #fff;
            border-bottom: 2px solid #f2f2f2;
            height: 62px;
            box-sizing: border-box;
            .on{
                color: #1eb9ee;
                border-bottom: 4px solid #1eb9ee;
            }
            p{
                display: inline-block;
                width: 200px;
                height: 58px;
                text-align: center;
                line-height: 58px;
                font-size: 18px;
                color: #333;
                cursor: pointer;
                border-bottom: 4px solid transparent;
            }
        }
        .tabcontent{
            display: flex;
            justify-content: space-between;
            .con-l{
                width: 950px;
                box-sizing: border-box;
                min-height: 50px;
                background: #fff;
                padding: 13px 20px 10px;
                overflow: hidden;
                .summary1{
                    color: #333;
                    line-height: 26px;
                    font-size: 14px;
                    word-spacing: 4px;
                    letter-spacing: 1px;
                    font-family: "Microsoft Yahei";
                    white-space: pre-wrap;
                }
                .summary2{
                    margin-top: 15px;
                    color: #999;
                    line-height: 26px;
                    font-size: 12px;
                    text-indent: 2em;
                    letter-spacing: 1px;
                    white-space: nowrap;
                    width: 910px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    margin-bottom: 10px;
                    border-bottom: 1px solid #ccc;
                    span{
                        color: #333;
                    }
                }
                .newchapter{
                    background: #fff;
                    padding: 20px 20px 26px 20px;
                    height: 101px;
                    .newtitle{
                        display: flex;
                        justify-content: space-between;
                        span{
                            display: inline-block;
                            line-height: 17px;
                            height: 17px;
                            color: #666;
                            font-size: 14px;
                        }
                    }
                    p{
                        margin-top: 14px;
                        line-height: 24px;
                        font-size: 12px;
                        height: 72px;
                        overflow: hidden;
                        display: -webkit-box;
                        white-space: wrap;
                        -webkit-box-orient: vertical;
                        text-overflow: ellipsis;
                        -webkit-line-clamp: 3;
                        color: #2c3e50;
                        &:hover{
                            color: #f5546f;
                        }
                    }
                }
                .fans{
                    .fanstitle{
                        margin-left: 20px;
                        border-bottom: 1px solid #f2f2f2;
                        color: #333;
                        line-height: 49px;
                        font-size: 18px;
                    }
                    .fans-con{
                        display: flex;
                        .hongbao{
                            position: relative;
                            margin: 20px 0 0 55px;
                            .pic{
                                background-image: url(../img/hongbao.png);
                                width: 203px;
                                height: 290px;
                                display: block;
                            }
                            .num{
                                position: absolute;
                                width: 150px;
                                font-size: 24px;
                                color: #fff;
                                left: 50%;
                                margin-left: -75px;
                                top: 113px;
                                text-align: center;
                            }
                            .btn{
                                width: 100%;
                                height: 40px;
                                color: #fff;
                                font-size: 18px;
                                line-height: 40px;
                                display: block;
                                background: #1eb9ee;
                                margin-top: 15px;
                                border-radius: 5px;
                                text-align: center;
                                cursor: pointer;
                            }
                            .allbonus{
                                display: block;
                                text-align: center;
                                color: #666;
                                margin-top: 14px;
                                font-size: 14px;
                            }
                        }
                        .rank{
                            width: 548px;
                            margin: 20px 0 0 75px;
                            .rank-title{
                                color: #333;
                                font-size: 16px;
                            }
                            .bonusitems{
                                height: 102px;
                                width: 548px;
                                border: 1px solid #e6e6e6;
                                margin-top: 15px;
                                overflow: hidden;
                                -webkit-box-sizing: border-box;
                                box-sizing: border-box;
                                .fans_scrolling_wrapper{
                                    height: 80px;
                                    margin-top: 10px;
                                    overflow: hidden;
                                    position: relative;
                                    @keyframes move {
                                        0%{
                                            transform: translateY(0px);
                                        }
                                        100%{
                                            transform: translateY(-290px);
                                        }
                                    }
                                    div{
                                        animation: move 2s linear infinite;
                                        p{
                                            margin-left: 13px;
                                            line-height: 29px;
                                            font-size: 14px;
                                            display: flex;
                                            justify-content: space-between;
                                            align-items: center;
                                            .reader{
                                                color: #333;
                                                i{
                                                    color: #1eb9ee;
                                                    font-style: normal;
                                                }
                                            }
                                            .paytime{
                                                font-size: 12px;
                                                color: #666;
                                            }
                                        }
                                    }
                                }
                            }
                            .fansitems{
                                margin-top: 24px;
                                height: 210px;
                                display: flex;
                                justify-content: space-between;
                                .card{
                                    position: relative;
                                    width: 160px;
                                    height: 210px;
                                    -webkit-box-shadow: 1px 2px 10px #dcdcdc;
                                    box-shadow: 1px 2px 10px #dcdcdc;
                                    float: left;
                                    position: relative;
                                    .top{
                                        position: absolute;
                                        width: 41px;
                                        height: 29px;
                                        top: -19px;
                                        left: 50%;
                                        transform: translateX(-50%);
                                    }
                                    .user{
                                        width: 120px;
                                        height: 120px;
                                        margin-top: 20px;
                                        margin-left: 20px;
                                    }
                                    .name{
                                        color: #666;
                                        font-size: 14px;
                                        text-align: center;
                                        margin-top: 14px;
                                    }
                                }
                            }
                        }
                    }
                }
            }
            .con-r{
                background-color: #fff;
                width: 240px;
                height: 875px;
                margin-top: -62px;
                .author{
                    padding-top: 20px;
                    .medal{
                        display: flex;
                        padding-left: 20px;
                        padding-bottom: 20px;
                        width: 100%;
                        border-bottom: 1px solid #f2f2f2;
                        img{
                            width: 60px;
                            height: 60px;
                            border-radius: 50%;
                        }
                        .name{
                            margin-left: 13px;
                            p{
                                display: block;
                                font-size: 14px;
                                color: #333;
                                margin-top: 7px;
                            }
                            span{
                                width: 78px;
                                height: 20px;
                                background-color: #1eb9ee;
                                text-align: center;
                                font-size: 14px;
                                color: #fff;
                                line-height: 20px;
                                display: block;
                                border-radius: 10px;
                                margin-top: 10px;
                            }
                        }
                    }
                    .data{
                        display: flex;
                        justify-content: space-between;
                        padding-left: 20px;
                        padding-right: 20px;
                        margin: 20px 0;
                        border-bottom: 1px solid #f2f2f2;
                        p{
                            text-align: center;
                            margin-bottom: 9px;
                            color: #999;
                            font-size: 12px;
                        }
                        span{
                            text-align: center;
                            color: #1eb9ee;
                            font-size: 14px;
                        }
                    }
                    .allbook{
                        .allbook-top{
                            margin-top: 19px;
                            margin-bottom: 13px;
                            display: flex;
                            justify-content: space-between;
                            padding-left: 20px;
                            padding-right: 20px;
                            height: 15px;
                            line-height: 15px;
                            span{
                                color: #999;
                                font-size: 12px;
                            }
                            .btns{
                                width: 36px;
                                display: flex;
                                justify-content: space-between;
                                button{
                                    width: 15px;
                                    height: 15px;
                                    line-height: 15px;
                                    text-align: center;
                                    border: none;
                                    font-size: 16px;
                                    color: #fff;
                                    background-color: #ccc;
                                    img{
                                        height: 15px;
                                    }
                                }
                            }
                        }
                        .bookbox{
                            overflow: hidden;
                            width: 240px;
                        }
                        .booklists{
                            box-sizing: border-box;
                            display: flex;
                            transition: all 1s;
                            .booklist{
                                flex: 0 0 200px;
                                transition: all 1s;
                                display: flex;
                                justify-content: space-between;
                                margin: 0 20px;
                                img{
                                    width: 82px;
                                    height: 112px;
                                    border: 1px solid #ccc;
                                    display: block;
                                }
                                span{
                                    width: 82px;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                    margin-top: 10px;
                                    text-align: center;
                                    display: block;
                                    color: #333;
                                    font-size: 12px;
                                }
                            }
                        }
                    }
                }
                .fansrank{
                    margin-top: 10px;
                    background: #fff;
                    padding-left: 20px;
                    .fansrank-title{
                        height: 49px;
                        border-bottom: 1px solid #f2f2f2;
                        line-height: 49px;
                        color: #333;
                        font-size: 18px;
                    }
                    .contents{
                        padding: 20px 15px 2px 0px;
                        &>.content:nth-of-type(-n+3) .num{
                                background-color: #1eb9ee !important;
                        }
                        .content{
                            margin-bottom: 16px;
                            overflow: hidden;
                            width: 100%;
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            .left{
                                display: flex;
                                align-items: center;
                                .num{
                                    width: 20px;
                                    height: 20px;
                                    background: #999;
                                    text-align: center;
                                    line-height: 20px;
                                    font-size: 12px;
                                    border-radius: 50%;
                                    color: #fff;
                                }
                                .fansintro{
                                    p{
                                        margin-left: 13px;
                                        font-size: 12px;
                                        color: #4d4d4d;
                                        margin-top: 4px;
                                    }
                                    span{
                                        display: block;
                                        margin-left: 13px;
                                        margin-top: 10px;
                                        font-size: 12px;
                                        color: #999;
                                    }
                                }
                            }
                            .right{
                                span{
                                    font-size: 12px;
                                    color: #999;
                                    margin-top: 4px;
                                }
                                img{
                                    width: 40px;
                                    height: 40px;
                                    border-radius: 50%;
                                }
                            }
                        }
                    }
                }
            }
        }
        .catalog{
            display: none;
            margin-left: 30px;
            padding-bottom: 20px;
            flex-wrap: wrap;
            .catalog-title{
                width: 100%;
                display: inline-block;
                padding: 40px 0 15px 0;
                font-size: 18px;
                font-weight: bold;
                border-bottom: 1px solid #f2f2f2;
                color: #333;
                font-weight: 700;
            }
            .catalog-content{
                padding-right: 40px;
                margin-right: 20px;
                width: 320px;
                height: 44px;
                line-height: 44px;
                display: inline-block;
                font-size: 14px;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                position: relative;
                vertical-align: middle;
                color: #333;
                border-bottom: 1px solid #f2f2f2;
                &:hover{
                    color: #1eb9ee;
                }
                img{
                    vertical-align: baseline;
                    margin: 12px 0 0 5px;
                    float: left;
                }
                .catalog-name{
                    display: inline-block;
                    max-width: 230px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    float: left;
                }
                .catalog-time{
                    display: inline-block;
                    vertical-align: top;
                    margin-left: 5px;
                    float: left;
                }
            }
        }
    }
}
.footer{
    height: 300px;
    background: #333;
    text-align: center;
    .font{
        padding-top: 50px;
        line-height: 24px;
        font-size: 12px;
        color: #fff;
        a{
            margin-right: 30px;
            text-decoration: none;
            color: #fff;
        }
    }
    .announce{
        margin-top: 30px;
        color: #999;
        font-size: 12px;
        line-height: 24px;
    }
    .gh{
        img{
            margin-right: 5px;
        }
        display: flex;
        justify-content: center;
        align-items: center;
        color: #999;
        font-size: 12px;
        line-height: 24px;
        width: 300px;
        margin: 0px auto;
        padding: 20px 0px;
    }
}
.rfloat {
    top: 280px;
    width: 40px;
    position: fixed;
    left: 50%;
    z-index: 99999;
    margin-left: 620px;
    ul {
        list-style: none;
        .r-1 {
            cursor: pointer;
            height: 40px;
            a {
                border-bottom: none !important;
                background: url(../img/w8.png) no-repeat #fff;
                background-position: -1px -1px;
                border: 1px solid #d9d9d9;
                display: inline-block;
                width: 40px;
                height: 40px;
                position: relative;
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                i {
                    width: 40px;
                    height: 40px;
                    position: absolute;
                    left: -1px;
                    top: -1px;
                    font-style: normal;
                }
                .rightSpan {
                    height: 40px;
                    line-height: 999px;
                    overflow: hidden;
                    position: absolute;
                    top: -1px;
                    width: 70px;
                    right: -70px;
                    display: none;
                }
            }
            a:hover {
                background-color: #1eb9ee !important;
            }
            a:hover i {
                background-color: #1eb9ee !important;
                background: url(../img/w11.png) no-repeat !important;
            }
            a:hover p {
                background-color: #1eb9ee !important;
                background: url(../img/w11.png) -35px 0 no-repeat;
                display: block;
                right: -70px;
                width:70px;
                height: 39px;
                top:0;
                z-index: 999999999;
            }
        }
        .r-2 {
            cursor: pointer;
            height: 40px;
            a {
                border-bottom: none !important;
                background: url(../img/w9.png) no-repeat #fff;
                background-position: -1px -1px;
                border: 1px solid #d9d9d9;
                display: inline-block;
                width: 40px;
                height: 40px;
                position: relative;
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                i {
                    width: 40px;
                    height: 40px;
                    position: absolute;
                    left: -1px;
                    top: -1px;
                    font-style: normal;
                }
                .rightSpan {
                    height: 40px;
                    line-height: 999px;
                    overflow: hidden;
                    position: absolute;
                    top: -1px;
                    width: 70px;
                    right: -44px;
                    display: none;
                }
            }
             a:hover {
                background-color: #1eb9ee !important;
            }
            a:hover i {
                background-color: #1eb9ee !important;
                background: url(../img/w12.png) no-repeat !important;
            }
            a:hover p {
                background-color: #1eb9ee !important;
                background: url(../img/w12.png) -35px 0 no-repeat;
                display: block;
                z-index: 999999999;
                width: 45px;
                height: 39px;
                top: 0;
                right: -44px;
            }
        }
        .r-3 {
            cursor: pointer;
            height: 40px;
            a {
                background: url(../img/w10.png) no-repeat #fff;
                background-position: -1px -1px;
                border: 1px solid #d9d9d9;
                display: inline-block;
                width: 40px;
                height: 40px;
                position: relative;
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                i {
                    width: 40px;
                    height: 40px;
                    position: absolute;
                    left: -1px;
                    top: -1px;
                    font-style: normal;
                }
                .rightSpan {
                    height: 40px;
                    line-height: 999px;
                    overflow: hidden;
                    position: absolute;
                    top: -1px;
                    width: 70px;
                    right: -44px;
                    display: none;
                }
            }
             a:hover {
                background-color: #1eb9ee !important;
            }
            a:hover i {
                background-color: #1eb9ee !important;
                background: url(../img/w13.png) no-repeat !important;
            }
            a:hover p {
                background-color: #1eb9ee !important;
                background: url(../img/w13.png) -35px 0 no-repeat;
                display: block;
                z-index: 999999999;
                width: 45px;
                height: 38px;
                right: -44px;
                top:0;
            }
        }
    }
}